package ru.len.cafe.ejb.exception;

public class CacheException extends Exception {
    
    /**
     * Thrown if there is an exception with
     */
    public static final long serialVersionUID = 1L;
    
    /**
     *  Constructor with no parameters
     */
    public CacheException(){
	
    }
    
    /**
     * Creates new exception with message.
     * 
     * @param message
     *            The message containing details about the exception.
     */
    public CacheException(String message) {
        super(message);
    }

    /**
     * Creates new exception with underlying exception.
     * 
     * @param message
     *            The message containing details about the exception.
     * @param cause
     *            The exception what caused this exception.
     */
    public CacheException(String message, Throwable cause) {
        super(message, cause);
    }
}

